package com.ruoyi.supermarket.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.time.LocalDateTime;

/**
 * 货位对象 tb_warehouse
 * 
 * @author ruoyi
 * @date 2024-05-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Warehouse
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long whId;

    /** 货位名称 */
    @Excel(name = "货位名称")
    private String whName;

    /** 货位负责人 */
    @Excel(name = "货位负责人")
    private String whContact;

    private String remark;
    private String createName;
    private String updateName;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    public void setWhId(Long whId) 
    {
        this.whId = whId;
    }

    public Long getWhId() 
    {
        return whId;
    }
    public void setWhName(String whName) 
    {
        this.whName = whName;
    }

    public String getWhName() 
    {
        return whName;
    }
    public void setWhContact(String whContact) 
    {
        this.whContact = whContact;
    }

    public String getWhContact() 
    {
        return whContact;
    }

}
